package com.platform.module.dao.service;

import com.platform.module.dao.entity.TmInviteUserBetInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 代理等级用户下注流水记录 服务类
 * </p>
 *
 * @author ZM
 * @since 2025-01-09
 */
public interface TmInviteUserBetInfoService extends IService<TmInviteUserBetInfo> {

    BigDecimal sumBalanceByUserIdAndBillDate(Long userId, LocalDate now);

    BigDecimal sumBalanceByUserIdAndBillDateBetween(Long userId, LocalDateTime cumulativeStartTime, LocalDateTime cumulativeExpiredTime);
}
